<?php
/**
 * Created by PhpStorm.
 * User: dy
 * Date: 2020/1/8
 * Time: 13:57
 */
namespace app\common\logic;
class BaseLogic
{
    protected static $logic = null;
    public static function instance(){
        if(empty(self::$logic)){
            self::$logic = new static();
        }
        return self::$logic;
    }
}